package com.demo.dao;

import com.demo.model.TabUsers;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TabUsersDao {

     int total_users();
     int countByExampleSearch(TabUsers t);
     List<TabUsers> searchByPage(TabUsers t);
     boolean save(TabUsers t);
     List<TabUsers> findByloginname(String loginname);
     void update_flag(TabUsers t);

     TabUsers findByid(String id);
     boolean update(TabUsers t);
     void del(String id);

}
